package ${presenterPackageName}
<#if needActivity && needFragment>
import com.jess.arms.di.scope.ActivityScope
<#elseif needActivity>
import com.jess.arms.di.scope.ActivityScope
<#elseif needFragment>
import com.jess.arms.di.scope.FragmentScope
</#if>
import com.xm98.core.base.BaseListPresenter
import javax.inject.Inject

import ${contractPackageName}.${pageName}Contract
import io.reactivex.Observable
import ${packageName}.bean.${entityName}



<#if needActivity && needFragment>
@ActivityScope
<#elseif needActivity>
@ActivityScope
<#elseif needFragment>
@FragmentScope
</#if>
class ${pageName}Presenter
@Inject
constructor(model: ${pageName}Contract.Model, rootView: ${pageName}Contract.View<${entityName}>) :
BaseListPresenter<${entityName}, ${pageName}Contract.Model, ${pageName}Contract.View<${entityName}>>(model,rootView) {

    override fun provideRequestObservable(page: Int): Observable<List<${entityName}>>? {
        return null
    }
}
